FROM java:8-jre-alpine
ENV JAVA_OPTS null
RUN mkdir /app
WORKDIR /app
ADD xxl-job-admin/xxl-job-admin.jar /app
EXPOSE 8081
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app/xxl-job-admin.jar" ]
